WordPress Global Redirect

is_page() supports array too, so you could do something like this.

add_action( 'template_redirect', 'wpse_76802_goodbye_redirect' );

function wpse_76802_goodbye_redirect() {
    if ( !is_page( array( 16372, 16384 ))) {
        wp_redirect( esc_url_raw( home_url( 'index.php?page_id=16372' ), 301 ) );
        exit;
    }
}