It is a bit curious that scalar booleans return 1D arrays
```
In [30]: a[True]
Out[30]: array([1])
```