OMG, that sounds awful!
I have been wondering the same, we don't try mentally ill persons in this country and almost everybody are mentally examinated before sentencing (those who commit murder, rape or other serious crime). Mentally ill belong to hospital, not to prison!