The cubes' partitioning planes are added in binary (
1+1=0) fashion. Three partitioned cubes are collinear if and only if their partitioning planes' binary sum equals zero.
The second model is useful because it lets us generate naturally all 168 symmetries of the Fano plane by splitting a cube into a set of four parallel 1x1x2 slices in the three ways possible, then arbitrarily permuting the slices in each of the three sets of four. See examples below.