fruitcake

nounfruit-cakelevel 8, estimatedinformalfrom other

an eccentric or slightly crazy person, often one whose behaviour seems odd

Everyone thought the old inventor was a fruitcake until his machine actually worked.

Close in meaning

crackpotcranknutscrewball