If they work long nights, they will be dumb eventually. Permanent stupidity can be induced by a relatively a short period of sleep deprivation.
I have no data, no scientific studies. It's just that I don't see how it can be any other way.
Alternatively, maybe caffeine and other stimulants decrease creativity and lead to what I felt became stupidity.