The PointInPolygon function takes a list of location points and a list of polygons and returns a list of binary values for every point and polygon combination, which indicates whether the point is contained in the polygon.
The function works only on 2D spatial objects.