Back in college, I worked on a project whose goals were to examine the effects of closed room vs. fresh air cognition. The solution was a partnership between the Architecture and Biotech departments to develop so-called "living walls" to continuously recycle air. In accordance with this article, test subjects showed improved cognition and memory working in fresh, low co2 ppm air.
I unfortunately do not have a paper but I did find an article about it and it seems they've deployed it in real life with success: https://www.architectmagazine.com/technology/breathe-in-case...