```
result = numpy.asanyarray(boolean_values, dtype='int8')
```