They have near identical control schemes, fin layout, size, and weight, but with only minor differences. It is clear the MIM-23 as a SAM is more likely optimized for low altitude use and the AIM-54 was originally intended for use against high and fast targets.
Whilst the AIM-54 was modified and could subsequently be used with great success against a low alt and low RCS target such as a cruise missile, those targets are not particularly evasive.
That being said, we know for a fact that the AIM-54 can do 25G’s in certain scenarios. Who is to say the missile designed for low altitude and evasive targets shouldn’t pull just as much provided the structural limitation of its’ cheaply made fins are no longer an obstacle?