If he was given an administrative discharge for failure to adapt to military life, it would be classified as a mental problem but not one that would make him a prohibited person. That is a common discharge for trainees who cannot do what the military asks of them and the drill sergeants do not seem him changing to be successful.
I don't know if that is what happened, but I saw a report of it being an administrative discharge like that.