Talking about madness, sometimes I find myself bordering on being like The Mad Hatter when I end up being so obsessively laser-focused on the details on whatever topic that interests me, which usually are related to psychology, spirituality, history and symbolism. I wouldn't dare to call myself a genius instead of a nutter, but I suppose that I have the ability of
hyperfocus because I'm on the high functioning end of the autism spectrum. In his interview with Joe Rogan, Elon Musk said that he was always hardwired differently. When he was a kid he thought he was insane and I can relate to those feelings although I'm not a rocket scientist!
I don't know if it's a gift or a curse and I don't know if it's something you can really "turn off" or turn on for that matter either. It just happens sometimes, like when you get into the "zone". It's a feature in the operating system (brains), instead of a bug. Perhaps Aragorn might attest to that too.