You're kind of right, in a roundabout way. It's been studied and the general scientific consensus is that those who are obese have lower IQ's than the general population, even when correcting for other contributing factors. The fatter you are, the lower your IQ.