Trying to add Custom Post Type to this functions.php command

Both is check single post existing or not.

But both function argument is different.

is_singular(). Pass argument for this post type slug

is_single() Pass argument for post ID, slug, title.

If you are use is_single() then check post type name.

Like:
if ( is_single() && ‘conference_2021’ == get_post_type() ) { }

Ref:
https://developer.wordpress.org/reference/functions/is_singular/
https://developer.wordpress.org/reference/functions/is_single/