the funny farm

noun

Definition of the funny farm

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