https://www.opencolleges.edu.au/informed/features/intelligence-humour-are-smart-people-funnier/
As I suspected, the more "dim" people are the less humor they seem to have.
“Humour is not about comedy; it is about a fundamental cognitive function,” says Alastair Clarke, author of The Pattern Recognition Theory of Humour. Here’s where the pattern recognition theme comes in.