The human being (= the human self, the reality of the human being, that very “I” of which we speak) possesses various spirits, bodies, faculties, instruments, and powers, each with its own system. One of these bodies is the material body, whose brain serves as the system for managing, recording, storing, and remembering. When it is weakened, a person may be unable to carry out some of their material and worldly affairs. The human spirit of faith, too, has its own particular structure, including a faith-based, or spiritual, brain. So long as this system remains sound, a person will not be unable to fulfil their duties of servitude, even if their material body has ceased to function. Indeed, with the help of this spirit, a person can carry out in the realm of Barzakh, through their imaginal (or barzakh) body, the material affairs that have been suspended.
As for the matter at hand, there is no doubt that fasting has many material and spiritual benefits, one of which is strengthening the brain!
But Alzheimer’s may have causes other than the accumulation of phlegm and moisture in the brain!
A believer may experience difficulties with their outward, material memory, but their memory of faith, belief, and servitude will not be lost. In other words, a believer does not develop faith-based or creedal Alzheimer’s. The believer’s innate soundness ensures that they fulfil their duties of servitude!