well, KrokadilyanGuy3 hit the nail right on the head. It is scientific fact that crocodilians are the most intelligent of all reptiles. And anyone working with crocs, even for a short time, would find this to be true very quickly. Crocs are also more closely related to birds than other reptiles.
other apex predators in the reptile world also show some form of higher intelligence, here are a few examples:
king cobra, reticulated python, komodo dragon, crocodile monitor, anaconda.
Specializing in rare & unusual Herpetofauna