Oh, I was thinking of .triangles. With .polygon you can actually have 4 vertices. Look at this description:
https://developer.apple.com/documentation/scenekit/scngeometryprimitivetype/scngeometryprimitivetypepolygon
What happens in your code when you change the z-vector from 0 to 3?