array: adding preliminary support for boolean arrays