Iterative arrays of logical circuits