What does ‘loony bin’ mean?

( np ) Insane asylum. Loan you $5? You should be locked up in a loony bin!