Well, I don’t really know for sure, but..I have geese, and birds are all evolved from reptiles.
I can say that my geese have great memories. They get very upset if the other goes into “their” stall in the goose barn. They have amazing memories of being medicated and I have to hide the syringes when approaching them to be medicated.
They know and retain at least a dozen words, phrases, and locations.
I can tell them to ” go up to where it’s so nice” lol, key phrase for my yard on the hill and many other statements that they have memorized.
Just the other night my female went into the left stall leaving the gander to go to the right stall which has a barrier between them.
My gander managed to jump over the divider and they were both in the same stall the next morning. He HAS to have the left side of the barn. lol
I’d say certain breeds of reptiles certainly can have memories and make associations dependent on their conditioning like most animals.