> ## 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_IsClosed

RETURNS true if the LINESTRING start and end point are the same.

<img src="https://mintcdn.com/wherobots/fqh3gPDE0J25Lra_/images/sql-functions/ST_IsClosed/ST_IsClosed.svg?fit=max&auto=format&n=fqh3gPDE0J25Lra_&q=85&s=50ad8def9dbbb75d6dd70633d7fb0110" alt="ST_IsClosed" width="500" height="300" data-path="images/sql-functions/ST_IsClosed/ST_IsClosed.svg" />

## Signatures

```sql theme={"system"}
ST_IsClosed(geom: Geometry)
```

## Parameters

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

## Return type

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

## Example

```sql theme={"system"}
SELECT ST_IsClosed(ST_GeomFromText('LINESTRING(0 0, 1 1, 1 0)'))
```

```
false
```
