can't say exactly, but the "find my" feature explicitly remains active even while "powered off" so it's evidently enough transmission that Apple can track location.
Apparently this uses the phone NFC capability and other nearby active phones to determine location. So yes, either leave the phone at home if you don't want to be tracked, or use a faraday bag.