How to select two fields on the same index

Couldn't you use the "add a filter" to create two filters, one where Y is 1 and one where Z is 1? Or you could simply type in the query bar "Y:1 AND Z:1".