Quad has all linear (triangle) terms [1, X, Y] plus an XY term in the solution space.
Therefore, the quad is a better element.
That said, the quad still suffers from "locking", so in general higher order elements like 6-node triangle or 8-node quad are preferred.