I have a flow that runs a select on a power BI dataset to get a list of email addresses. The Output produced a list a email addresses with duplicates as follows:

I then run a compose with
union(body('Select'),union(body('Select')))

This step produces an error
Unable to process template language expressions in action 'Compose_2' inputs at line '0' and column '0': 'The template language function 'union' expects either a comma separated list of arrays or a comma separated list of objects as its parameters. The function was invoked with '1' parameter(s).

Any ideas on how to solve?