McCandless had issues but he was still a very high functioning individual. And let faced it,,,,,most of us got issues and many of these issues can be found in DSM-5.  But that doesn't mean we are mentally ill. 

In my book, sometimes, smart people do stupid things. McCandless is probably a prime example. And you find yourself in a major fix, then these issues cropped up and make it worst.