There is no location for memory. Memory is embodied in the structure and connections of the brain. If you wipe out enough structure you wipe out memories.
There is an artist who can no longer recall or think about color. He is quite lucid and can still do art, but his conception and memory of color is gone.
Many kinds of behavior follow this pattern: wipe out the area supporting the function and the function is gone. There is no evidence that mental events can take place that are no associated with neural activity.
Plants have “behavior.” It’s called tropism.
That activity is done entirely without a brain as you would define it. There is purpose of a kind and that is what startled Einstein when he saw it. What do you think of that data?