Controlled detection in composite nanoresonant