mad smart
A ridiculous way to brag about someone's brain power, with a lot of swearing and nonsense.
He's mad smart, like he could pass a test while blindfolded and drunk.
She's mad smart, she can do algebra and also insult you at the same time.
They're mad smart, but also completely useless.