That said, it was a total failure of the system to allow someone so mentally unstable to have any kind of clearance. Manning's AFQT score was probably 99 at a time when the army had trouble getting anyone literate to join. And so there wasn't a discharge. Here's an interesting interview about Manning's (near) discharge:
http://www.theguardian.com/world/2011/may/28/bradley-manning...