The physical brain is just a signal translation device.
The consciousness (incl. the subconscious mind) are not stored in the physical brain.
The physical brain’s only purpose is for you to be able experience yourself in a physical world and making a physical experience.
It is not “you”, and neither are “you” stored anywhere in there.
This man was able to operate almost normally because his consciousness was still there and the remaining physical brain had enough functionality to still translate and download enough signals down into the physical dimension.
Certain physical body’s function’s are also operated by the physical body’s own morphic field, so these functions can operate without having an intact physical brain too.
More answers here: