Increased CO2 concentrations do impare human cognition, but that is more about relatively sealed spaces with lots of people like a classroom where CO2 concentrations can be 3 times atmospheric levels or more.
https://phys.org/news/2016-05-fossil-fuels-earth.html
I expect we don’t go near that number for many reasons, but it is worth including in the cost/benefit calculations.