A list of boolean values?

I have a set of N checkboxes where N is any positive integer
I need to save their value true/false

I through a repeating group backed by a list of “yes/no” would work, but I discovered that “lists” should really be called “sets” because they do not allow the same value in the list multiple times.

I considered a list of the cell numbers of “yes” cells, but then only they would show up in the repeating group.

How would you organize this?

I think I figured it out. I had to create a new data type (table) called “check” that gas a yes/no field and make a new one for each check box