Well that might be overstating it but two recent studies showed that low levels of Vitamin D led to lower scores on cognitive function tests and slower information processing speed.
In an article in Scientific American scientists found that compared to people with optimum vitamin D levels, those in the lowest quartile were more than twice as likely to be cognitively impaired. This applied to the 65 and older group (men and women).
Another study looked at men ages 40-79 and found that those who had lower levels of Vitamin D exhibited slower information-processing speeds.
An ideal range for Vitamin D intake is 1,000 to 2,000 IU daily since this the amount that our bodies can synthesize during 15 to 30 minutes of exposure to the sun, according to the article.