The most reliable way to find a friend is by searching their exact Gamertag.
You might search for a name and see nothing, or see an old profile that hasn't been online in years. Microsoft does not recycle Gamertags. Even if a player hasn't logged in since 2008, their name remains reserved unless they manually delete their Microsoft account.