This function returns a string. So you should join the elements of the array to make a string.
From the Codex:
Function Reference/do shortcode
Return Values
(string)
Content with shortcodes replaced by the output from the shortcode’s handler(s).