> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ST_Disjoint

Return true if A and B are disjoint

<img src="https://mintcdn.com/wherobots/fqh3gPDE0J25Lra_/images/sql-functions/ST_Disjoint/ST_Disjoint_true.svg?fit=max&auto=format&n=fqh3gPDE0J25Lra_&q=85&s=e9f666837ae05e2168f1d66febbb7ca9" alt="ST_Disjoint returning true" width="400" height="300" data-path="images/sql-functions/ST_Disjoint/ST_Disjoint_true.svg" />

<img src="https://mintcdn.com/wherobots/fqh3gPDE0J25Lra_/images/sql-functions/ST_Disjoint/ST_Disjoint_false.svg?fit=max&auto=format&n=fqh3gPDE0J25Lra_&q=85&s=81e4e0603082b48be252280666639f91" alt="ST_Disjoint returning false" width="400" height="300" data-path="images/sql-functions/ST_Disjoint/ST_Disjoint_false.svg" />

## Signatures

```sql theme={"system"}
ST_Disjoint (A: Geometry, B: Geometry)
```

## Parameters

<ParamField body="A" type="Geometry" required>
  The input geometry.
</ParamField>

<ParamField body="B" type="Geometry" required>
  The second geometry.
</ParamField>

## Return type

<ResponseField type="Boolean">
  Returns `true` or `false`.
</ResponseField>

## Example

```sql theme={"system"}
SELECT ST_Disjoint(ST_GeomFromWKT('POLYGON((1 4, 4.5 4, 4.5 2, 1 2, 1 4))'),ST_GeomFromWKT('POLYGON((5 4, 6 4, 6 2, 5 2, 5 4))'))
```

```
true
```
