As suggested by abhishekmehta4u:
We can do this in O(logn) time by comparing medians of both arrays. Since both of them are of the same size, we can continuously divide the problem in half until we find medians of the same size.
More information here:
https://www.geeksforgeeks.org/median-of-two-sorted-arrays/amp/
My previous less efficient answer:
It is given that you have to find the middle element of union sorted array.
So given an array of size 2n, the middle element can be found in O(1) time.
(P.S. if we have to first combine them, then it would take O(n + n) = O(n) time to combine and then O(1) time to find the middle element. So total time will be O(n) in this case)