The emphasis is on punishment and consideration of public safety and not psychiatric treatment in prison. Guilty but mentally ill is not a defense, but rather a court ruling that the individual is guilty and a candidate for punishment.
patients with mental illness may be more prone to violence if they do not receive adequate treatment,are actively experiencing delusions, or have long-standing paranoia.
Generally the mentally ill are responsible civilly for their actions regardless of mental state except where the law requires specific intent and the illness negates such intent.
please make me brainalist and keep smiling dude I hope you will be satisfied with my answer is updated up