I am trying to use Arcade to check if an address point falls within various types of zoning polygons and if so, display some info about said polygons in its popup. The issue I am having is that functions like Intersects(), Within(), and Contains() do not seem to recognize the spatial relationship between points that are obviously intersecting, within, or contained by the zoning polygons. Its not every layer either, which is confusing me. Below is a sample of the code I am using for to both check and display the desired information:
Maybe try defining variables first? You'll find some code samples here, one of them being for Intersect: From the Smart Editor to Smart Forms (esri.com)