An array is global by default (the common property Global), meaning it can be accessed on any layout. (The "Global" property is part of the "Object types properties" on the very top of the properties bar of any object type you select.
The thing is, make sure to execute first the layout that "fills" the array in your project.
From there, going from a layout to another, the array is accessible and its content is not modified (as long as your code does not modify it).