A balanced, heart-healthy diet remains the most reliable way to support cognitive function as you age.