ST_Polygon or ST_MultiPolygon. This method can be called on 3D geometries (those that include z coordinates). However, the z coordinate is dropped, and only x and y coordinates are returned.