How to get pages id in array in get_pages?

You can use include argument (see get_pages() in Codex for details and examples) to retrieve specific set. To continue your snippet that would be:

$pages = get_pages( array(
    'include' => $arrData,
) );