mad smart
A silly and profane way to describe someone who is super smart but also completely ridiculous.
That kid is mad smart, but also a total disaster.
She's mad smart, but she still can't cook an egg.
He's mad smart, but he thinks the sun is a giant light bulb.