# bitOr {#bitor}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`bitOr(X, Y)`

or

`X | Y`

## Arguments {#arguments}

**X** and **Y** are numeric scalar, vectors, matrices or tables.

## Details {#details}

Return the result of the *bitOr* operation.

## Examples {#examples}

```
x=1 0 1;
y=0 1 1;
x | y;
// output: [1,1,1]
```

