Green’s Dictionary of Slang

brainiac n.

[SE brain + maniac; note the DC Comics villain Brainiac, who first appeared in 1958]

a really clever person.

[US]R. Price Breaks 107: The kid was a brainiac. Bronx Science, NYU.
[US] ‘Bug World Awards’ in Shepherd Express (Milwaukee) 30 Jul. XIX:31 🌐 She’s Sally, working at a casino oyster bar, yearning to become the first female blackjack dealer in Monte Carlo. She’s not exactly a brainiac, but getting by as best she can.
[UK]Guardian Guide 5–12 June 87: The odious Nash [...] meets his match in a loony-tunes brainiac.
[US]Mad mag. July 27: Maybe if you damn brainiacs accepted any of my words.