A study at the Linus Pauling Institute and College of Veterinary Medicine at Oregon State University found that Xanthohumol, a type of flavonoid found in hops and beer, has been shown to improve cognitive function in young mice.
But don't get your hopes up, as the researchers also state,
It’s also important to note, Magnusson said, that the levels of xanthohumol used in this study were only possible with supplements. As a fairly rare micronutrient, the only normal dietary source of it would be through the hops used in making beer, and “a human would have to drink 2,000 liters of beer a day to reach the xanthohumol levels we used in this research.”
Well, that explains a lot.
See "Can beer help you remember things? Not exactly" for more.