In order to define a GIN index on an array and scalar field (for example) you need to enable the btree_gin
extension in PostgreSQL. Then you can define your indexes as a GIN index.
However I don't understand if, under the hood, PostgreSQL is using a btree structure or a GIN structure.