The prefix "in-" is used to indicate the opposite of something. So, "insane" literally means "not sane".