In Terry's case, it sounded like he suffered from a lot of delusions of persecution (e.g. thinking the CIA is after him), and religious delusions. Neither of these are fundamentally incompatible with any sort of technical or scientific thought process. Had he not been delusional, I suspect we might either never have heard of him, or he'd be one of the people making the front page of HN on a semi-regular basis.
Newton studied alchemy and Linus Pauling believed against all evidence that vitamin C cured cancer and basically everything else. Humans are very good at applying their (ir)rationality to certain subfields while abandoning it in others.
---
[0]: https://en.wikipedia.org/wiki/Alchemy#Later_modern_period
BUT. Newton also studies Bible Numerology. Trying to find number patterns in the Bible.
So maybe Newton also had his quirks.
Maybe any mind that is exploring new ideas, will sometimes go down some blind alleys.
Programming (eg, TempleOS) can be successful as a solo endeavor. I'm not sure we have enough technical leverage for a single person to create a rocket ship (ie, something capable of lifting real loads to orbit). Maybe in the future when AI systems can fill in some of the details and/or automate the construction.
If you have to coordinate with other humans, insanity is tough. Nobody else can hear the voices in your particular head.
Could someone delusional also create a rocket ship? Or is there something special about programming that makes it compatible with delusional thinking?