how to invite a friend to play in the same machine

Hi, I want to let my friend join Halo 5 game who is also logged in my XboxOne. How can we play together as a team? thanks

There is no split screen in Halo 5. There is a long thread about it here.

Sorry, but you can’t. Halo 5 is the first Halo game without splitscreen co-op, so if you both wanna play, you need 2 separate Xbox consoles, 2 controllers, and 2 TVs.