Quiz: Remember the definition of mal de mer?
mid-15c., past participle adjective from crack (v). Meaning "mentally unsound" is 17c. (cf. crack-brain "crazy fellow"). The equivalent Greek word was used in this sense by Aristophanes.
Crazy; eccentric: You're cracked if you think I'll stay now (1692+)
get one's nuts