We are actually getting stupider because of the raise of CO2 consentration in air.
https://thinkprogress.org/exclusive-elevated-co2-levels-dire...
https://thinkprogress.org/exclusive-elevated-co2-levels-dire...
A couple of other studies showed no effects of elevated CO2: https://news.ycombinator.com/item?id=23161403
Even if we doubled yearly increases in ppm we'd be a century away from a measurable impact on human cognition for outdoor air.