The whole chessboard can be cut into $2 \times 2$ blocks which contain two black and two white squares. Let TL be the number of 1's in all the top-left squares of these blocks, and similarl TR, BL and BR are the number of 1's in all the top-right, bottom-left and bottom-right squares.
Now all the top-left squares and all the top-right squares together make every second row on the chessboard. So they are 999 rows, each with an odd number of 1's. Hence together they contain an odd number of 1's. This number of 1's is TL + TR.
All the top-left squares and all the bottom-left squares together make every second column on the chessboard. So they are 1001 rows, each with an odd number of 1's. Hence together they contain an odd number of 1's. This number of 1's is TL + BL.
Since TL + TR and TL + BL are both odd, their sum must be even. So TR + 2TL + BL is even. Since 2TL is even, this means that TR + BL is even.
Now the top-right and bottom-left squares are either both white or both black in each block. In fact, if they are both black/white in one block they will both be black/white in all blocks and will together constitute all the black/white squares.
Since TR+BL and TL + BR are both even, we have that the number of black squares with a 1, and also the number of white squares with a 1 are both even.