the booby hatch

noun

Definition of the booby hatch

informal + often offensive
: a hospital for people who are mentally ill