Whatever you think this is doing, it isn't.
1) Comma operator doesn't do a comparison, things like ==, <=, !=, >=, etc., do.
2) You don't compare pin numbers
to HIGH/LOW, you compare pin states
to HIGH/LOW. To convert a pin number to its state, you use digitalRead().
2) You shouldn't have a semicolon at the end of it
3) Any code that should run under that condition should be surrounded by parentheses.
Ditto for all of the other similarly looking lines.
For inputs you want to use
if(INPUT_PIN == high);
No you don't. "high" isn't a defined variable or constant, and you shouldn't be comparing a pin number to a state.