The U.S. military says the operation is part of a joint effort to search for known terrorists and insurgents , as well as for illegal weapons .