From the article:
“…two new studies published in the New England Journal of Medicine shed further light on the profound toll of COVID-19 on cognitive health.” And in other studies cases “with mild to moderate COVID-19 showed significant prolonged inflammation of the brain and changes that are commensurate with seven years of brain aging.”
One of the studies cited in the article found that COVID-19 damages (or can damage) the blood-brain barrier.
Considering the number of people who end up with “brain fog” this seems a likely way for it to enter the brain.