Allocates a 3D array in the memory for the bool type. It works just like [sec:sf_boolalloc2]sf_boolalloc2 but does it for three dimensions. This is done by extending the same argument as for sf_boolalloc2 but this time making a pointer such that Pointer2 -> Pointer1 -> Pointer. n1 is the fastest dimension.