A quick google search finds a source claiming that about 10-20% of the prison population (a few hundred thousand) are seriously mentally ill:
http://www.psychiatrictimes.com/forensic-psych/content/artic...