Pulling high 6 pins at the same time

pinMode(1, OUTPUT); // can't use that pin, assuming you have an Uno.
Pin0 and pin1 are connected to the USB<>Serial chip, that always pulls those pins HIGH.

digitalWrite(1,2,5,6,9,10, HIGH); // not valid syntax

If you HAVE to set a range of pins at the same time, use port manipulation.
But WHY...
Otherwise use a for loop, and arrays if the pins are not in order.
Leo..