The great Himalayan yogi, Swami Rama, often said, "All of the body is in the mind but all of the mind isn't in the body."
Take a few moments to contemplate what he meant by that.
According to Yoga, the mind is not the same as the brain. Far more extensive and subtle than the brain, the mind is an energy field.
But even this energetic mind is still considered to be material and not to true self, which is pure consciousness