# Intersects

The **Intersects** function determines if one geography intersects another geography.

### Syntax

```
Intersects(geography1, geography2)
```

The function arguments are:

geography1RequiredThe first geography that many be intersecting with the next geographygeography2RequiredThe second geography that many be intersecting with the previous geography

### Examples

```
Intersects(Geography("POLYGON((0 0, 2 0, 2 2, 0 2, 0 0))"), Geography("POLYGON((1 1, 3 1, 3 3, 1 3, 1 1))"))
```

The function returns `True`.

```
Intersects([Brooklyn], [Queens])
```

If we define the Brooklyn and Queens boroughs as a polygons (see [](https://support.meetuma.ai/uma-knowledgebase/data-and-reporting/analytics-pro/functions/geography-functions "mention") for coordinates), then the Intersects function returns `True` because they share a waterway; see the following illustration.

<figure><img src="https://sigma-docs-screenshots.s3.us-west-2.amazonaws.com/img/nyc-boroughs.png" alt=""><figcaption></figcaption></figure>
