Array with random objects?
Use a Particle System
You can easily do it with the built in tools.

Start by creating the array, be sure to enable the merge option.
Create a Hair type particle system, set the number of particles equal to your array repetitions and the render type to collection and choose &quot;pick random&quot;.
Enable the advanced options and make sure to &quot;Use Modifier Stack&quot; (option enabled). Disable Random Order and set 1 Particle per face.

BAM! Done.
Now it's only a matter of adjusting the rotation and the size of your instances.

You can inspect my file with the proper values for size and rotation here: