Nimb:
first switch in pin 8-9, second in pin 10-11, thrid in pin 12-13
const int int1 = 8;
const int int2 = 9;
const int int3 = 10;
const int int4 = 11;
const int int5 = 12;
const int int6 = 13;
im trying "do something" when start combination with second switch in some postition, after first switch in another position, and last in another position
like a password
Here's tips to save your fingers and mind;
Variables can be grouped together and accessed by number as an array.
const byte number[] = { 8, 9,10, 11, 12, 13 }; // byte can hold 0 to 255 in half the space of an int
const char number[] = { -1, 0, 1 }; // char can hold -128 to 127, used in ASCII text codes
https://www.arduino.cc/reference/en/language/variables/data-types/array/
But for true/false groups your friends are the bits in integer variables and being able to Serial.print( x, BIN ) to see the 0's and 1's.
If I write decimal 321 it is ( 3 x 100 ) + ( 2 x 10 ) + ( 1 x 1 ).
If I write binary 111 it is ( 1 x 4 ) + ( 1 x 2 ) + ( 1 x 1 ) = decimal 7.
Those 3 switches corresponding to those 3 bits make a number from 0 to 7, 8 possibilities.
A switch-case statement can handle that quick and clean. Value 5 = 101 = true, false, true.
If you wire your switches to 3 pins on the same port, you can read them all at once with a port read 5x faster than Arduino digitalRead() can get just one. There are 1 or 2 bitwise logic operations (clear all but the 3 bits we care about and maybe shift those bits to positions 0, 1 and 2 so they count as binary 1's, 2's, 4's.
With an Uno you have 3 ports that can read/write 6 pins at once. The Mega has many ports you can read/write 8 pins at once.
You can work 8, 16, 32 T/F bits at a time using byte, word and unsigned long variables. Signed variables can be a pain, use unsigned. You could have 32 switch "passwords".
Arduino Language Reference, good bookmark!
https://www.arduino.cc/reference/en/
Cosine Kitty's Bitmath Tutorial
https://playground.arduino.cc/Code/BitMath/
I have a debounce method that shows me pin state history as 8 bits. Just by the number I can tell 8 reads over the last 4 millis as they were collected. I can tell if there was bouncing and when the pin becomes stable just by that number and not a series of if's.