# Boolean

A logical boolean (`true` / `false`).

## [](#_defining_a_boolean_valued_attribute)Defining a boolean valued attribute

```typeql
#!test[schema]
define
  attribute shipped value boolean;
```

## [](#_inserting_a_boolean_valued_attribute)Inserting a boolean valued attribute

```typeql
#!test[write]
insert
  $_ isa shipped false;
```

[Value types](../index.md) [Integer](../integer/index.md)

[Edit on GitHub](https://github.com/typedb/typedb-docs/edit/3.x-development/typeql-reference/modules/ROOT/pages/values/boolean.adoc) Edit this page on GitHub.