Contract void or voidable?

If a person is mentally not competent is the contract void or voidable? I have multiple sets of notes that say different things. Ninja says if a person is not competent to enter into a contract it is voidable. Also a contract is voidable due to insanity a Holder in due course wins but if the maker is not competent to enter into a contract it is a real defense and wins vs. a HDC. Aren't this basically the same thing?