It isn't, the most secure phone is GrapheneOS.

And if you only take into account stock phones, stock Pixels are still above it as per exploit costs.

So they are basically 3rd or 4th place if you add some other Android flagships into the list.