Mentally ill.
Used other than figuratively or idiomatically: see chemically, imbalanced.
Disturbed or upset, especially mentally.
Insane.
Malfunctioning or inoperative.