One approach would be to use a MIDIVoice script. However, since you want to be able to interactively reinitialize the 3d array with random numbers, the best solution would be to do it in a Tool.
Here's an example of a Tool that does a 5X5X5 game of life cube. One dimension becomes the on/off pattern for a sequencer, a Replicator creates clusters of 5 sequencers, and each cluster goes to one of 5 channels created by a second Replicator.
First play the Sound, then click Run on the Tool. (You may have to move the VCS out of the way to see the Tool controls). The Tool has a button for Randomizing the whole cube and another one for computing the next generation of the game (we could modify it so the generations run sequentially without that button). But it might be interesting to be able to stay on a generation for a while to listen to it and change Sound parameters.
Give it a try and let us know if you have questions about how it works or how to modify it.
Have fun!