How do Textures2DArrays Work?

How do Texture2DArrays work in the material editor?
I want to change the textures using one parameter.