If someone with a brain tumor committed a violent crime because he was delusional - he would probably not be sentenced to death, but its a bit different when it comes to schizophrenia or another severe mental illness.
It does not make sense to me - very sad