Note the affirmative form: It is not.It is the subject. When you create a question, you invert the subject and the first verb after it: It is> Is it. Is it not? The only way you can transport that negative not across the subject in the inversion process is if it is attached as n't: Isn't it?