Mendix does not offer that option in their own programming components. Every thing is a entity or a variable.
If you want to use an array in a microflow and you have Java-skills, create a Java-action. Same goes for front-end actions: create a javascript-action.