The brain is an organ not a muscle. So it does not change the amount of energy it uses based on cognitive activity.
REF https://www.scientificamerican.com/article/thinking-hard-calories/