Loon

Loon was an old Earth slang term for a mentally ill person.

In 2264, Montgomery Scott, who had been possessed by a Vulcan emotion, wondered why he was laughing like a loon. 

In 2270, Captain told Captain Kirk that most people thought Georges Mordreaux was a loon.