guilty but mentally ill

noun
  1. : a verdict available in some jurisdictions in cases involving an insanity defense in which the defendant is considered as if having been found guilty but is committed to a mental hospital rather than imprisoned if an examination shows a need for psychiatric treatment — compare not guilty by reason of insanity