Better general intelligence is associated with higher levels of the fats (called monounsaturated fat) that are in olive oils, nuts, avocados.
“High levels of monounsaturated fatty acids are known to increase metabolism in regions within the dorsal attention network. Functional connectivity within both the frontoparietal cortex and the dorsal attention network underlie general intelligence.”