The term 'guilty but mentally ill' refers to a legal verdict where an individual is found to have committed a crime but is also recognized as suffering from a mental illness at the time of the offense. This verdict allows for the individual to be held accountable for their actions while also acknowledging their mental health condition, which can influence sentencing and treatment options. It balances the need for public safety with compassion for mental health issues, making it a unique outcome in the criminal justice system.