<?php
$destaque = 2;

$fotos[] = array(
	'idFoto' => 1,
	'img' => '1.jpg',
	'destaque' => null
);

$fotos[] = array(
	'idFoto' => 2,
	'img' => '2.jpg',
	'destaque' => null
);

$fotos[] = array(
	'idFoto' => 3,
	'img' => '3.jpg',
	'destaque' => null
);


foreach( $fotos as $n => $foto )
{
	if( $foto['idFoto'] === $destaque )
	$fotos[$n]['destaque'] = 1;
}

print_r( $fotos );