Etymology
Today it means: An eccentric or crazy person. Full definition →
From crack + brain.
Etymology from Wiktionary, CC BY-SA 4.0.