Obesity is associated with deficits in learning, memory, executive function, and cognitive performance possibly due to high brain inflammation.
www.sciencedirect.com
This was found in multiple studies including non-demented middle-aged adults, independent of their relationship to cardiovascular and cerebrovascular disease. Brain inflammation is thought to be a major mechanism leading to brain dysfunction.