Polygon(ls [, ls] ...)

Constructs a Polygon value from a number of LineString or WKB
LineString arguments. If any argument does not represent a LinearRing
(that is, not a closed and simple LineString), the return value is
NULL.

URL: https://dev.mysql.com/doc/refman/8.0/en/gis-mysql-specific-functions.html

