Brains are not doing linear algebra, and they don't follow a concise algorithm.

What LLM do is even farther away from what neural nets do, and even there - artificial neurons are inspired by but not reimplementing biological neurons.

You can understand human thought in terms of LLMs, but that is just a simile, like understanding physical reality in terms of computers or clockworks.