retrieve only the 1 values

hallo 

i am trying to retrieve a list from a panel that have only values as integer 1 ( i need to keep the branch. and index)

any idea?

thx

_nass.JPG